package org.lex.filter;

public class NotFilter<T> implements Filter<T> {
	protected Filter<T> filter = null;

	public NotFilter(Filter<T> filter) {
		this.filter = filter;
	}

	public boolean accept(T o) {
		return !filter.accept(o);
	}
}
